home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / archiver / compress.zoo / Makefile.minix < prev    next >
Makefile  |  1989-10-10  |  896b  |  35 lines

  1. #
  2. # MAKE FILE FOR UNIX SYSTEMS (MINIX using gcc)
  3. # add what optimizion options your system supports
  4. # on some systems there may be no setvbuf() or the code may generate
  5. # errors if the large buffer is used for the stream, if so :
  6. # add -DNO_SETVBUF (this is done in compress.h under #ifdef UNIX  -Dal)
  7. # and if your system doesn't support either setvbuf or setbuf
  8. # add -DNO_SETBUF
  9. # add -DALLOC if your system uses alloc() instead of malloc()
  10. # add -DNOSIGNAL for faster processing on a unix pc
  11.  
  12. CFLAGS=-DMINIX -DUNIX -DNDEBUG -traditional -U__GNUC__ -O
  13. CC = mgcc
  14.  
  15. OFLAGS= -s -z
  16. LIB=
  17. PROG=compress
  18. OBJ=compress.o compusi.o compapi.o
  19. BIN=/usr/bin
  20.  
  21. $(PROG): $(OBJ)
  22.     $(CC) -o $(PROG) $(OFLAGS) $(OBJ) $(LIB)
  23.     chmem =400000 $(PROG)
  24.  
  25. install:
  26.     cp $(PROG) $(BIN)
  27.     ln $(BIN)/$(PROG) $(BIN)/uncompress
  28.     ln $(BIN)/$(PROG) $(BIN)/zcat
  29.  
  30. compapi.o: compress.h
  31.  
  32. compress.o: compress.h
  33.  
  34. compusi.o: compress.h
  35.